import {requestResponse} from '../../../../config/axios.conf'

// 文章列表
export const articleListApi = (json: any) => requestResponse('get', '/anon/communityReceptionPage', json)
// 文章详情
export const articleDetailApi = (json: any) => requestResponse('get', '/anon/communityNewsDetail', json)
// 热门文章
export const HotArticleListApi = (json: any) => requestResponse('get', '/anon/communityHotPage', json)
// 提交评论
export const sumbitCommentApi = (json: any) => requestResponse('post', '/anon/evaluationRecord/save', json)
// 评论列表
export const commentListApi = (json: any) => requestResponse('get', '/anon/evaluationRecord/getTopicPageList', json)
// 自己评论列表
export const commentSubListApi = (json: any) => requestResponse('get', '/anon/evaluationRecord/getSubList', json)
// 热门作者
export const hotAuteurApi = (json: any) => requestResponse('post', '/anon/communityAuteur', json)

export const communityReadAll = (json: any) => requestResponse('get', '/authc/communityReadAll', json)
